package com.token.common;

import lombok.Getter;

/**
 * @auther: henriy
 * @Date: 2023/10/25
 */
@Getter
public enum ResponseEnum {

    LOGIN_ERROR(4001, "登录用户不存在"),
    DELETE_TOKEN(5001, "删除token失败"),
    DATA_EXCEPTION(5002, "数据异常"),
    PARAM_EXCEPTION(5003, "参数异常"),
    POOL_EXCEPTION(5004, "线程处理异常"),
    M2000(2000, "成功"),
    M4000(4000, "失败"),
    M4003(4003, "签名认证失败"),
    ;

    private final Integer code;
    private final String message;

    ResponseEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
